<div class="p10 w600">
  <table class="formtable">
    <tr>
      <th>产品名称:</th>
      <td>{$producttype_lists[$info['producttype_id']]}</td>
    </tr>
    <tr>
      <th>旧IMEI号:</th>
      <td>{$info['imei']}</td>
    </tr>
    <tr>
      <th>新IMEI号:</th>
      <td>{$info['new_imei']}</td>
    </tr>
    <tr>
      <th>维修工程师:</th>
      <td>{$info['service_admin_name']}</td>
    </tr>
    <tr>
      <th>实际故障描述:</th>
      <td>{$info['failure_cause']}</td>
    </tr>
  </table>
<div class="table-head fn-clear">使用维修物料</div>
  <table class="table table-border">
  <thead>
      <tr>
          <td class="fn-tac w60">#</td>
          <td>产品名称</td>
          <td class="w100 fn-tac">物料代码</td>
          <td>物料名称</td>
          <td>规格型号</td>
      </tr>
  </thead>
  <tbody>
  {loop $bom_list $vo}
  <tr>
      <td class="fn-tac">{$vo['id']}</td>
      <td>{$vo['product']}</td>
      <td class="fn-tac">{$vo['code']}</td>
      <td>{$vo['name']}</td>
      <td>{$vo['parameter']}</td>
  </tr>
  {/loop}
  </tbody>
  </table>
</div>
<div class="m10 w600">
<form id="form" action="{url('testing/edit')}">
<input type="hidden" name="id" value="{$id}"/>  
<table class="table">
    <tr>
      <th>是否通过:</th>
      <td>
<select class="select" name="status" datatype="*">
    <option value="" selected="selected"></option>
    <option value="1">通过</option>
    <option value="0">不通过</option>
</select>
      </td>
    </tr>
    <tr>
      <th>质检结论:</th>
      <td>
        <textarea datatype="*" class="textarea w300 h50"  type="text" name="testing_text">{$info['testing_text']}</textarea>
      </td>
    </tr>
</table>
<div class="btn fn-tac">
    <input type="submit" value="提交审核结果" class="button button-blue" />
</div>
</form>
</div>
<script type="text/javascript">
Do('base','form','date','dialog',function(){ 
    $('#form').forms();
})
</script>